package com.roc.service.impl;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.roc.dao.DaoException;
import com.roc.dao.SettleWhilteListDao;
import com.roc.pojo.SettleWhilteList;
import com.roc.service.ServiceException;
import com.roc.service.SettleWhilteListService;

@Service
public class SettleWhilteListServiceImpl implements SettleWhilteListService {
	Logger logger = Logger.getLogger(SettleWhilteListServiceImpl.class);
	
	@Autowired
	private SettleWhilteListDao settleWhilteListDao;

	@Override
	@Transactional(propagation = Propagation.REQUIRED)
	public void insert(SettleWhilteList settleWhilteList) throws Exception {
		settleWhilteListDao.editSave(settleWhilteList);
	}
	

}
